$(function() {
	
	$('.pic').bind("dblclick",function(){
		var imgId = $(this).attr("imgId");
		window.parent.returnValue = "<img src='" + contextPath + "/img/findWaterImg.action?img.id=" + imgId + "' />";
		window.parent.close();
	});
	
});